package com.cjx.mybatisdataauth.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author cjunxian
 * @description 数据权限表
 * @date 2022/3/13
 */
@TableName(value = "data_auth")
public class DataAuthEntity {

    /**
     * id
     */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    String id;

    /**
     * 权限点名称
     */
    @TableField(value = "auth_name")
    String authName;

    /**
     * sql
     */
    @TableField(value = "auth_sql")
    String authSql;
}
